﻿using DLUProject.Domain;
using DLUProject.Services;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class Dashboard : BasePage
{
    public IServices<Systems> _service { get; set; }

    protected void Page_Load(object sender, EventArgs e)
    {

    }
    protected override void OnInit(EventArgs e)
    {
        base.OnInit(e);
        if (!IsPostBack)
        {
            rptSystems.DataSource = _service.All();
            rptSystems.DataBind();
        }
    }
    public string GetPortalUrl(object url)
    {
        return UrlHelper.PortalURL + url;
    }
}